package org.pcorp.battlespace.persistance.dao;

import java.util.List;

import org.hibernate.SessionFactory;
import org.pcorp.battlespace.persistance.modele.Typeequipement;
import org.springframework.beans.factory.annotation.Autowired;

public interface TypeEquipementDao {

	@Autowired
	public abstract void initDao(SessionFactory sessionFactory);

	public abstract void persist(Typeequipement transientInstance);

	public abstract void delete(Typeequipement persistentInstance);

	public abstract Typeequipement findById(long id);
	
	public abstract Typeequipement findByName(String nom);

	public abstract List<Typeequipement> findByExample(Typeequipement instance);

}
